\i0 operator. I want to give it a relative path, for more flexibility in my application, but things only work when I use an absolute path. Why? How can I use a relative path?\
\
\pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220 Q: I'm receiving the following error message when I'm trying to use the PSrun() function in my application:\
\f2\fs24\fc0 %%[ Error: undefinedfilename; OffendingCommand: run ]%%\
DPS client library error: PostScript program error, DPSContext ba134\
\
\f0\fs28 Why won't PSrun work with the filename that I have provided?\
\i0 operator can, indeed, be given a relative path. Remember, though, that the path is relative to the
\i Window Server's
\i0 current directory — which happens to be the root directory. So, relative paths don't buy you very much.\
\
If you can turn your PS code into a wrap, you can obtain the appropriate directory from your C or Objective-C code, and pass that in as an argument to your PS code. In this way, you can specify the appropriate directory programmatically, based on a value in the defaults database, on some notion of your current directory, on a user's home directory, on the application's location in the filesystem, ....\